# 作   者: 刘自涵
# 创建时间: 2022/3/31 18:14

print('apple' > 'app')  # True
print('apple' > 'banana')  # False  相当于97>98 -> False
print(ord('a'), ord('b'))
print(ord('杨'))

print(chr(97), chr(98))
print(chr(26472))

'''
    == 与 is 的区别
    == 比较的是 value
    is 比较的是 id 是否相等
'''
a = b = 'Python'
c = 'Python'
print(a == b)  # True
print(b == c)  # True

print(a is b)  # True
print(a is c)  # True
print(id(a))  # 3111052128368
print(id(b))  # 3111052128368
print(id(c))  # 3111052128368
